Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve handling of validation errors #1907

Merged
merged 6 commits into from
Jun 26, 2023
Merged

Improve handling of validation errors #1907

merged 6 commits into from
Jun 26, 2023

Conversation

hannobraun
Copy link
Owner

Previously, it was pretty easy to accidentally not drop Services, meaning any validation errors would be ignored. This pull request updates fj::handle_model to take Services, making sure that validation errors get surfaced properly. It also adds a --ignore-validation flag to the standard model CLI.

@hannobraun hannobraun merged commit 447720c into main Jun 26, 2023
@hannobraun hannobraun deleted the validation branch June 26, 2023 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant